#-*- coding: utf8 -*-
from tutor.scripts import *
from tutor.plugins.sympy import *

while True:
    with display_block('Entradas'):
        S = One * oneof(1, 2, 3, 6, sqrt(3), 2 * sqrt(3), 3 * sqrt(3))

    with display_block('Resultados'):
        correta = S ** 3 / 27
        S_2 = 2 * S
        correta_2 = correta * 2
        S_cubed = min(S ** 3, 36)

        if len(set([correta, S_2, correta_2, S_cubed])) != 4:
            continue
        else:
            break
